package com.cloud.pikachu.dingtalk.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(name = "pikachu-dingtalk-service",fallback = AvoidLoginServiceClientHiHystric.class)
public interface AvoidLoginServiceClient {

    @RequestMapping(value = "/avoidlogin/code/{code}",method = RequestMethod.POST)
    String avoidLogin(@PathVariable("code") String code);
}
